package com.market.goods.dao.mongo;

import lombok.Data;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;

@ToString
@Data
@Document(collection="activityRule")
public class ActivityRule {
    /**
     * 编号
     */
    private Integer id;

    /**
     * 活动id
     */
    private Integer activityId;

    /**
     * 满减金额
     */
    private BigDecimal conditionAmount;

    /**
     * 满减件数
     */
    private Long conditionNum;

    /**
     * 优惠金额
     */
    private BigDecimal benefitAmount;

    /**
     * 优惠折扣
     */
    private Long benefitDiscount;

    /**
     * 优惠级别
     */
    private Long benefitLevel;

}